<?php

namespace Application\pform\a_wan2;

use Application\model\BaseOrderModel;
use Application\pform\a_wan\OrderModel as baseAWanOrder;
class OrderModel extends baseAWanOrder
{

    public function getRetunData($config){
        return [
            'orderId' => $this->orderId,
            'payNotifyUrl' => SCHEME."://{$_SERVER['HTTP_HOST']}/api/payment?platform=".PFORM_NAME ,
            'rate' => RADIO,
            'goodsId' => $config['id'],
            'goodsName' => $config['describe'],
            'money' => $config['amount'],
            'ext' => $this->get('ext')
        ];
    }

}